import React, { Component } from 'react'
import PropTypes from 'prop-types'

/**
 * 树形控件
 */
class AppButton extends Component {
    render(){
        let { children } = this.props
        return (
            <button>children</button>
        )
    }
}
AppButton.defaultProps = {
    className: '',
    id: ''
}
AppButton.propTypes = {
    id: PropTypes.string,
    className: PropTypes.string
}
export default  AppButton